package com.tjetc.标准输入输入流;

import java.io.BufferedInputStream;
import java.io.IOException;

public class T01标准输入流 {
    public static void main(String[] args) throws IOException {
        BufferedInputStream bis = new BufferedInputStream(System.in);
        byte[] b = new byte[1024];
        int num;
        while((num = bis.read(b)) != -1){
            System.out.println(new String(b,0,num));
        }
        bis.close();
    }

}
